package edu.zut.bailan.group.service.impl;

import edu.zut.bailan.admin.dao.GroupDao;
import edu.zut.bailan.admin.domain.Group;
import edu.zut.bailan.admin.service.GroupManager;
import edu.zut.bailan.base.service.impl.GenericManagerImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service(value = "GroupManager")
public class GroupManagerImpl extends GenericManagerImpl<Group, Long> implements GroupManager {
    edu.zut.bailan.admin.dao.GroupDao GroupDao;

    @Autowired
    public void setGroupDao(GroupDao GroupDao) {
        this.GroupDao = GroupDao;
        this.dao = this.GroupDao;
    }


    @Override
    public List<Group> getAncestors(Long id) {
        return null;
    }

    @Override
    public List<Group> getChildren(Long id) {
        return null;
    }

    @Override
    public List<Group> getDescendants(Long id) {
        return null;
    }

    @Override
    public List<Group> getRoot() {
        return null;
    }
}
